package model;

import javax.xml.bind.annotation.XmlTransient;

public class ChuDe {
	public static String BENH = "Bệnh";
	public static String THUOC = "Thuốc";
	public static String DIA_DIEM_Y_TE = "Địa điểm y tế";
	public static String BAC_SI = "Bác sĩ";
	public static String THIET_BI_Y_TE = "Thiết bị y tế";
	public static String KHAC = "Chủ đề khác";
	
	protected long idChuDe;
	protected String tenChuDe;
	protected ChuDe chuDeCha;
	protected String loai;

	public ChuDe(){}
	
	public ChuDe(String tenChuDe, ChuDe chuDeCha, String loai) {
		this.tenChuDe = tenChuDe;
		this.chuDeCha = chuDeCha;
		this.loai = loai;
	}

	public long getIdChuDe() {
		return idChuDe;
	}

	public void setIdChuDe(long idChuDe) {
		this.idChuDe = idChuDe;
	}

	public String getTenChuDe() {
		return tenChuDe;
	}

	public void setTenChuDe(String tenChuDe) {
		this.tenChuDe = tenChuDe;
	}

	@XmlTransient
	public ChuDe getChuDeCha() {
		return chuDeCha;
	}

	public void setChuDeCha(ChuDe chuDeCha) {
		this.chuDeCha = chuDeCha;
	}

	public String getLoai() {
		return loai;
	}

	public void setLoai(String loai) {
		this.loai = loai;
	}
	
}
